package edu.hcmus.sow.dao;

import java.util.Calendar;
import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.Project;
import edu.hcmus.sow.domain.TaskWorkLog;
import edu.hcmus.sow.domain.User;

/**
 * DAO to manage TaskWorkLog entities.
 * 
 */
public interface TaskWorkLogDAO extends GenericDAO<TaskWorkLog, Integer> {
	public List<TaskWorkLog> getListsByTaskID (Integer taskID)throws DataAccessException;

   public List<TaskWorkLog> getTaskWorkLogReports(User user, Project project, Calendar from, Calendar to)throws DataAccessException;
}